<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>List Students</title>
</head>
<body>
	<h2>All Customers</h2>

	<s:if test="listStudent.size() > 0">
		<table border="1px" cellpadding="8px">
			<tr>
				<th>Student Id</th>
				<th>Name</th>
				<th>Address</th>
				<th>Birthday</th>
				<th>Email</th>
			</tr>
			<s:iterator value="listStudent" status="userStatus">
				<tr>
					<td><s:property value="studentId" /></td>
					<td><s:property value="studentName" /></td>
					<td><s:property value="address" /></td>
					<td><s:date name="birthday" format="dd/MM/yyyy" /></td>
					<td><s:property value="email" /></td>

				</tr>
			</s:iterator>
		</table>
	</s:if>
</body>
</html>